<!--
 * @Author: wukunling 13022195532@163.com
 * @Date: 2024-11-21 21:56:16
 * @LastEditors: wukunling 13022195532@163.com
 * @LastEditTime: 2024-11-21 22:56:10
 * @FilePath: /whole-station/client/src/App.vue
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
<template>
  <el-config-provider :button="button">
    <router-view />
  </el-config-provider>
</template>

<script lang="ts" setup>
import { useTheme } from '_hooks'
// import zhCn from 'element-plus/lib/locale/lang/zh-cn'
import { ref } from 'vue'
const { initTheme } = useTheme()
initTheme()
/** 将 Element Plus 的语言设置为中文 */
// const locale = ref(zhCn)
const button = ref({ autoInsertSpace: true })
</script>
